inherited sprBanks: TsprBanks
  Caption = #1041#1072#1085#1082#1080
  PixelsPerInch = 96
  TextHeight = 13
  inherited Panel2: TPanel
    Top = 25
    Height = 529
    inherited PageControl1: TPageControl
      Height = 529
      inherited tsTab: TTabSheet
        inherited GroupBox3: TGroupBox
          Height = 501
          inherited dbgRefer: TDBGridEh
            Height = 484
            Columns = <
              item
                EditButtons = <>
                FieldName = 'ID'
                Footers = <>
                Width = 28
              end
              item
                EditButtons = <>
                FieldName = 'NAME'
                Footers = <>
                Width = 168
              end
              item
                EditButtons = <>
                FieldName = 'FILIAL'
                Footers = <>
              end
              item
                EditButtons = <>
                FieldName = 'DEPART'
                Footers = <>
              end
              item
                EditButtons = <>
                FieldName = 'RADDRESS'
                Footers = <>
                Visible = False
                Width = 143
              end
              item
                EditButtons = <>
                FieldName = 'JADDRESS'
                Footers = <>
                Width = 255
              end
              item
                EditButtons = <>
                FieldName = 'PHONE'
                Footers = <>
                Width = 100
              end
              item
                EditButtons = <>
                FieldName = 'INN'
                Footers = <>
                Visible = False
              end
              item
                EditButtons = <>
                FieldName = 'OKONH'
                Footers = <>
                Visible = False
              end
              item
                EditButtons = <>
                FieldName = 'BIK'
                Footers = <>
                Visible = False
              end
              item
                EditButtons = <>
                FieldName = 'OKPO'
                Footers = <>
                Visible = False
              end
              item
                EditButtons = <>
                FieldName = 'RS'
                Footers = <>
                Visible = False
              end
              item
                EditButtons = <>
                FieldName = 'KRS'
                Footers = <>
                Visible = False
              end>
          end
        end
      end
      inherited tsForm: TTabSheet
        inherited GroupBox2: TGroupBox
          Top = 0
          Width = 784
          Height = 501
          Align = alClient
          object Label1: TLabel [0]
            Left = 84
            Top = 15
            Width = 17
            Height = 13
            Alignment = taRightJustify
            Caption = #1048#1044
          end
          object Label2: TLabel [1]
            Left = 51
            Top = 35
            Width = 50
            Height = 13
            Alignment = taRightJustify
            Caption = #1053#1072#1079#1074#1072#1085#1080#1077
          end
          object Label3: TLabel [2]
            Left = 60
            Top = 55
            Width = 41
            Height = 13
            Alignment = taRightJustify
            Caption = #1060#1080#1083#1080#1072#1083
          end
          object Label4: TLabel [3]
            Left = 32
            Top = 75
            Width = 69
            Height = 13
            Alignment = taRightJustify
            Caption = #1044#1077#1087#1072#1088#1090#1072#1084#1077#1085#1090
          end
          object Label5: TLabel [4]
            Left = 70
            Top = 95
            Width = 31
            Height = 13
            Alignment = taRightJustify
            Caption = #1040#1076#1088#1077#1089
          end
          object Label6: TLabel [5]
            Left = 18
            Top = 115
            Width = 83
            Height = 13
            Hint = #1082#1086#1076' '#1076#1083#1103' '#1074#1085#1077#1096#1085#1080#1093' '#1082#1083#1102#1095#1077#1081
            Alignment = taRightJustify
            Caption = #1055#1086#1095#1090#1086#1074#1099#1081' '#1072#1076#1088#1077#1089
          end
          object Label7: TLabel [6]
            Left = 56
            Top = 135
            Width = 45
            Height = 13
            Hint = #1082#1086#1076' '#1076#1083#1103' '#1074#1085#1077#1096#1085#1080#1093' '#1082#1083#1102#1095#1077#1081
            Alignment = taRightJustify
            Caption = #1058#1077#1083#1077#1092#1086#1085
          end
          object Label8: TLabel [7]
            Left = 51
            Top = 255
            Width = 50
            Height = 13
            Hint = #1082#1086#1076' '#1076#1083#1103' '#1074#1085#1077#1096#1085#1080#1093' '#1082#1083#1102#1095#1077#1081
            Alignment = taRightJustify
            Caption = #1050#1086#1088#1088'.'#1089#1095#1077#1090
          end
          object Label9: TLabel [8]
            Left = 52
            Top = 235
            Width = 49
            Height = 13
            Hint = #1082#1086#1076' '#1076#1083#1103' '#1074#1085#1077#1096#1085#1080#1093' '#1082#1083#1102#1095#1077#1081
            Alignment = taRightJustify
            Caption = #1056#1072#1089#1095'.'#1089#1095#1077#1090
          end
          object Label10: TLabel [9]
            Left = 70
            Top = 215
            Width = 31
            Height = 13
            Alignment = taRightJustify
            Caption = #1054#1050#1055#1054
          end
          object Label11: TLabel [10]
            Left = 79
            Top = 175
            Width = 22
            Height = 13
            Alignment = taRightJustify
            Caption = #1041#1048#1050
          end
          object Label12: TLabel [11]
            Left = 63
            Top = 195
            Width = 38
            Height = 13
            Alignment = taRightJustify
            Caption = #1054#1050#1054#1053#1061
          end
          object Label13: TLabel [12]
            Left = 77
            Top = 155
            Width = 24
            Height = 13
            Alignment = taRightJustify
            Caption = #1048#1053#1053
          end
          inherited pnlButtons: TPanel
            Top = 468
            Width = 780
            TabOrder = 13
            inherited SpeedButton1: TSpeedButton
              Left = 581
            end
            inherited SpeedButton2: TSpeedButton
              Left = 683
            end
          end
          object DBEditEh1: TDBEditEh
            Left = 104
            Top = 12
            Width = 57
            Height = 19
            AlwaysShowBorder = True
            Color = clInactiveCaptionText
            DataField = 'ID'
            DataSource = dscRefer
            EditButtons = <>
            Enabled = False
            Flat = True
            ReadOnly = True
            TabOrder = 0
            Visible = True
          end
          object DBEditEh4: TDBEditEh
            Left = 104
            Top = 72
            Width = 217
            Height = 19
            AlwaysShowBorder = True
            DataField = 'DEPART'
            DataSource = dscRefer
            EditButtons = <>
            Flat = True
            TabOrder = 3
            Visible = True
          end
          object DBEditEh5: TDBEditEh
            Left = 104
            Top = 92
            Width = 217
            Height = 19
            AlwaysShowBorder = True
            DataField = 'JADDRESS'
            DataSource = dscRefer
            EditButtons = <>
            Flat = True
            TabOrder = 4
            Visible = True
          end
          object DBEditEh6: TDBEditEh
            Left = 104
            Top = 112
            Width = 217
            Height = 19
            AlwaysShowBorder = True
            DataField = 'RADDRESS'
            DataSource = dscRefer
            EditButtons = <>
            Flat = True
            TabOrder = 5
            Visible = True
          end
          object DBEditEh2: TDBEditEh
            Left = 104
            Top = 32
            Width = 217
            Height = 19
            AlwaysShowBorder = True
            DataField = 'NAME'
            DataSource = dscRefer
            EditButtons = <>
            Flat = True
            TabOrder = 1
            Visible = True
          end
          object DBEditEh3: TDBEditEh
            Left = 104
            Top = 52
            Width = 217
            Height = 19
            AlwaysShowBorder = True
            DataField = 'FILIAL'
            DataSource = dscRefer
            EditButtons = <>
            Flat = True
            TabOrder = 2
            Visible = True
          end
          object DBEditEh7: TDBEditEh
            Left = 104
            Top = 132
            Width = 217
            Height = 19
            AlwaysShowBorder = True
            DataField = 'PHONE'
            DataSource = dscRefer
            EditButtons = <>
            Flat = True
            TabOrder = 6
            Visible = True
          end
          object DBEditEh8: TDBEditEh
            Left = 104
            Top = 152
            Width = 217
            Height = 19
            AlwaysShowBorder = True
            DataField = 'INN'
            DataSource = dscRefer
            EditButtons = <>
            Flat = True
            TabOrder = 7
            Visible = True
          end
          object DBEditEh9: TDBEditEh
            Left = 104
            Top = 192
            Width = 217
            Height = 19
            AlwaysShowBorder = True
            DataField = 'OKONH'
            DataSource = dscRefer
            EditButtons = <>
            Flat = True
            TabOrder = 9
            Visible = True
          end
          object DBEditEh10: TDBEditEh
            Left = 104
            Top = 172
            Width = 217
            Height = 19
            AlwaysShowBorder = True
            DataField = 'BIK'
            DataSource = dscRefer
            EditButtons = <>
            Flat = True
            TabOrder = 8
            Visible = True
          end
          object DBEditEh11: TDBEditEh
            Left = 104
            Top = 212
            Width = 217
            Height = 19
            AlwaysShowBorder = True
            DataField = 'OKPO'
            DataSource = dscRefer
            EditButtons = <>
            Flat = True
            TabOrder = 10
            Visible = True
          end
          object DBEditEh12: TDBEditEh
            Left = 104
            Top = 232
            Width = 217
            Height = 19
            AlwaysShowBorder = True
            DataField = 'RS'
            DataSource = dscRefer
            EditButtons = <>
            Flat = True
            TabOrder = 11
            Visible = True
          end
          object DBEditEh13: TDBEditEh
            Left = 104
            Top = 252
            Width = 217
            Height = 19
            AlwaysShowBorder = True
            DataField = 'KRS'
            DataSource = dscRefer
            EditButtons = <>
            Flat = True
            TabOrder = 12
            Visible = True
          end
        end
      end
    end
  end
  inherited GroupBox1: TGroupBox
    Height = 0
  end
  inherited dsRefer: TpFIBDataSet
    UpdateSQL.Strings = (
      'UPDATE RBANKS'
      'SET '
      '    NAME = :NAME,'
      '    FILIAL = :FILIAL,'
      '    DEPART = :DEPART,'
      '    RADDRESS = :RADDRESS,'
      '    JADDRESS = :JADDRESS,'
      '    PHONE = :PHONE,'
      '    INN = :INN,'
      '    OKONH = :OKONH,'
      '    BIK = :BIK,'
      '    OKPO = :OKPO,'
      '    RS = :RS,'
      '    KRS = :KRS'
      'WHERE'
      '    ID = :OLD_ID'
      '    ')
    DeleteSQL.Strings = (
      'DELETE FROM'
      '    RBANKS'
      'WHERE'
      '        ID = :OLD_ID'
      '    ')
    InsertSQL.Strings = (
      'INSERT INTO RBANKS('
      '    NAME,'
      '    FILIAL,'
      '    DEPART,'
      '    RADDRESS,'
      '    JADDRESS,'
      '    PHONE,'
      '    INN,'
      '    OKONH,'
      '    BIK,'
      '    OKPO,'
      '    RS,'
      '    KRS'
      ')'
      'VALUES('
      '    :NAME,'
      '    :FILIAL,'
      '    :DEPART,'
      '    :RADDRESS,'
      '    :JADDRESS,'
      '    :PHONE,'
      '    :INN,'
      '    :OKONH,'
      '    :BIK,'
      '    :OKPO,'
      '    :RS,'
      '    :KRS'
      ')')
    RefreshSQL.Strings = (
      'select * from rbanks'
      ''
      ' WHERE '
      '        RBANKS.ID = :OLD_ID'
      '    ')
    SelectSQL.Strings = (
      'select * from rbanks'
      '@where_str')
    Transaction = trLists
    UpdateTransaction = trRefer
    object dsReferID: TFIBIntegerField
      DisplayLabel = #1048#1044
      FieldName = 'ID'
    end
    object dsReferNAME: TFIBStringField
      DisplayLabel = #1053#1072#1079#1074#1072#1085#1080#1077' '#1073#1072#1085#1082#1072
      FieldName = 'NAME'
      Size = 120
      EmptyStrToNull = True
    end
    object dsReferFILIAL: TFIBStringField
      DisplayLabel = #1060#1080#1083#1080#1072#1083
      FieldName = 'FILIAL'
      Size = 16
      EmptyStrToNull = True
    end
    object dsReferDEPART: TFIBStringField
      DisplayLabel = #1044#1077#1087#1072#1088#1090#1072#1084#1077#1085#1090
      FieldName = 'DEPART'
      Size = 16
      EmptyStrToNull = True
    end
    object dsReferRADDRESS: TFIBStringField
      DisplayLabel = #1055#1086#1095#1090#1086#1074#1099#1081' '#1072#1076#1088#1077#1089
      FieldName = 'RADDRESS'
      Size = 120
      EmptyStrToNull = True
    end
    object dsReferJADDRESS: TFIBStringField
      DisplayLabel = #1040#1076#1088#1077#1089
      FieldName = 'JADDRESS'
      Size = 120
      EmptyStrToNull = True
    end
    object dsReferPHONE: TFIBStringField
      DisplayLabel = #1058#1077#1083#1077#1092#1086#1085
      FieldName = 'PHONE'
      EmptyStrToNull = True
    end
    object dsReferINN: TFIBStringField
      DisplayLabel = #1048#1053#1053
      FieldName = 'INN'
      Size = 12
      EmptyStrToNull = True
    end
    object dsReferOKONH: TFIBStringField
      DisplayLabel = #1054#1050#1054#1053#1061
      FieldName = 'OKONH'
      EmptyStrToNull = True
    end
    object dsReferBIK: TFIBStringField
      DisplayLabel = #1041#1048#1050
      FieldName = 'BIK'
      EmptyStrToNull = True
    end
    object dsReferOKPO: TFIBStringField
      DisplayLabel = #1054#1050#1055#1054
      FieldName = 'OKPO'
      EmptyStrToNull = True
    end
    object dsReferRS: TFIBStringField
      DisplayLabel = #1056#1072#1089'.'#1089#1095#1077#1090
      FieldName = 'RS'
      EmptyStrToNull = True
    end
    object dsReferKRS: TFIBStringField
      DisplayLabel = #1050#1086#1088'.'#1089#1095#1077#1090
      FieldName = 'KRS'
      EmptyStrToNull = True
    end
  end
  inherited PropStorage: TPropStorageEh
    Section = 'sprBanks'
  end
end
